   isResponseBase64,   get_ParsePKCS7   ,   BASE64.
       C#.

  get_CreatePKCS7Ex     BASE64.

tumarCom.tumarCom2 tcm = new tumarCom2();
                tcm.Profile = "Profile://kaz2";
                tcm.ProvType = 25;
                byte[] hash = new byte[32];
                for (int i = 0; i < 32; i++)
                {
                    hash[i] = (byte)(0x10 + i);
                }              
                String hb64 = BitConverter.ToString(hash).Replace("-", "");
                String sign = tcm.get_CreatePKCS7Ex(hb64, "12345", 1);
                Console.WriteLine(sign);                             
                int res = tcm.get_VerifyPKCS7(sign);
                
                if (res == 0)
                {
                    Console.WriteLine("Signature true");
                }
                else
                {
                    Console.WriteLine("Signature false");
                }
                tcm.isResponseBase64 = 1;
                String p7 = tcm.get_ParsePKCS7(sign);
                Console.WriteLine(p7);
